package com.jicheng.dto.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: bright
 * @Date: 2020/5/28 10:13
 * @Description: app 记录入参
 */
@Setter
@Getter
public class AppParams implements Serializable {
    private static final long serialVersionUID = 6492963176662762717L;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "app名")
    private String name;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "大小")
    private String size;

    @ApiModelProperty(value = "备注")
    private String comment;

    @ApiModelProperty(value = "操作人")
    private String operator;
    @JsonFormat(pattern ="yyyy-MM-dd", timezone = "GMT+08:00")
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;
}
